package com.c2c.po;

import com.c2c.po.enums.impl.UsersState;

import java.util.List;

public class User {

    private int userAccount;
    private String userName;
    private String userPassword;
    private String userAddress;
    private int userCredit;
    private double userMoney;

    private UsersState userState;

    public int getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(int userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public int getUserCredit() {
        return userCredit;
    }

    public void setUserCredit(int userCredit) {
        this.userCredit = userCredit;
    }

    public double getUserMoney() {
        return userMoney;
    }

    public void setUserMoney(double userMoney) {
        this.userMoney = userMoney;
    }

    public UsersState getUserState() {
        return userState;
    }

    public void setUserState(UsersState userState) {
        this.userState = userState;
    }

    @Override
    public String toString() {
        return "User{" +
                "userAccount=" + userAccount +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userAddress='" + userAddress + '\'' +
                ", userCredit=" + userCredit +
                ", userMoney=" + userMoney +
                ", userState=" + userState +
                '}';
    }
}
